package user;

import Utils.MyToast;

/**
 * Created by zx on 2017/3/20.
 */

public class LoginUser {
    //登录用户名  pds整改以后 userDisplayName为用户真实姓名
    String userDisplayName;

    //真实姓名
    String TrueName;

    //手机号码
    String userMobilephone;

    //用户所属单位Id
    String userUnitId;

    //用户所属单位名称
    String userUnitName;

    //施工单位
    String sgdw;

    //pds整改以后 userName为登录用户名
    String userName;

    //用户菜单权限
    //登录用户权限（按钮）
    String userAuthority;

    String userUnitType;

    Sgyjh sgyjh = new Sgyjh();

    Sgzjh sgzjh = new Sgzjh();

    Sgrjh sgrjh = new Sgrjh();

    Jdjc jdjc = new Jdjc();

    Zsjh zsjh = new Zsjh();

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserUnitType() {
        return userUnitType;
    }

    public void setUserUnitType(String userUnitType) {
        this.userUnitType = userUnitType;
    }

    public Sgyjh getSgyjh() {
        return sgyjh;
    }

    public void setSgyjh(Sgyjh sgyjh) {
        this.sgyjh = sgyjh;
    }

    public Sgzjh getSgzjh() {
        return sgzjh;
    }

    public void setSgzjh(Sgzjh sgzjh) {
        this.sgzjh = sgzjh;
    }

    public Sgrjh getSgrjh() {
        return sgrjh;
    }

    public void setSgrjh(Sgrjh sgrjh) {
        this.sgrjh = sgrjh;
    }

    public Jdjc getJdjc() {
        return jdjc;
    }

    public void setJdjc(Jdjc jdjc) {
        this.jdjc = jdjc;
    }

    public Zsjh getZsjh() {
        return zsjh;
    }

    public void setZsjh(Zsjh zsjh) {
        this.zsjh = zsjh;
    }

    //施工月计划
    public static class Sgyjh {
        //施工月计划
        boolean Sgyjh = false;
        //审核月计划
        boolean Shyjh = false;
        //审核已完成
        boolean Shywc = false;
        //审批已完成
        boolean Spywc = false;
        //月计划查询
        boolean Yjhcx = false;

        public boolean isSgyjh() {
            return Sgyjh;
        }

        public void setSgyjh(boolean sgyjh) {
            Sgyjh = sgyjh;
        }

        public boolean isShyjh() {
            return Shyjh;
        }

        public void setShyjh(boolean shyjh) {
            Shyjh = shyjh;
        }

        public boolean isShywc() {
            return Shywc;
        }

        public void setShywc(boolean shywc) {
            Shywc = shywc;
        }

        public boolean isSpywc() {
            return Spywc;
        }

        public void setSpywc(boolean spywc) {
            Spywc = spywc;
        }

        public boolean isYjhcx() {
            return Yjhcx;
        }

        public void setYjhcx(boolean yjhcx) {
            Yjhcx = yjhcx;
        }
    }

    //施工周计划
    public static class Sgzjh {
        //施工周计划
        public boolean Sgzjh = false;
        //审核周计划
        public boolean Shzjh = false;
        //审核已完成
        public boolean Shywc = false;
        //周计划查询
        public boolean Zjhcx = false;

        public boolean isSgzjh() {
            return Sgzjh;
        }

        public void setSgzjh(boolean sgzjh) {
            Sgzjh = sgzjh;
        }

        public boolean isShzjh() {
            return Shzjh;
        }

        public void setShzjh(boolean shzjh) {
            Shzjh = shzjh;
        }

        public boolean isShywc() {
            return Shywc;
        }

        public void setShywc(boolean shywc) {
            Shywc = shywc;
        }

        public boolean isZjhcx() {
            return Zjhcx;
        }

        public void setZjhcx(boolean zjhcx) {
            Zjhcx = zjhcx;
        }
    }

    //施工日计划
    public class Sgrjh {
        //施工日计划
        boolean Sgrjh = false;
        //审核日计划
        boolean Shrjh = false;
        //审核已完成
        boolean Shywc = false;
        //日计划查询
        boolean Rjhcx = false;

        public boolean isSgrjh() {
            return Sgrjh;
        }

        public void setSgrjh(boolean sgrjh) {
            Sgrjh = sgrjh;
        }

        public boolean isShrjh() {
            return Shrjh;
        }

        public void setShrjh(boolean shrjh) {
            Shrjh = shrjh;
        }

        public boolean isShywc() {
            return Shywc;
        }

        public void setShywc(boolean shywc) {
            Shywc = shywc;
        }

        public boolean isRjhcx() {
            return Rjhcx;
        }

        public void setRjhcx(boolean rjhcx) {
            Rjhcx = rjhcx;
        }
    }

    //监督检查 菜单权限
    public static class Jdjc {
        boolean sgjh = false;
        boolean jclr = false;
        //施工监护人员安排
        boolean sgjhryap = false;
        //施工监护人员查询
        boolean sgjhrycx = false;
        //监督检查录入信息
        boolean jdjclrxx = false;
        //监督检查待处理
        boolean jdjcdcl = false;
        //监督检查已处理
        boolean jdjcycl = false;
        //监督检查信息查询
        boolean jdjcxxcx = false;

        public boolean isSgjh() {
            return sgjh;
        }

        public void setSgjh(boolean sgjh) {
            this.sgjh = sgjh;
        }

        public boolean isJclr() {
            return jclr;
        }

        public void setJclr(boolean jclr) {
            this.jclr = jclr;
        }

        public boolean isJdjcxxcx() {
            return jdjcxxcx;
        }

        public void setJdjcxxcx(boolean jdjcxxcx) {
            this.jdjcxxcx = jdjcxxcx;
        }

        public boolean isSgjhryap() {
            return sgjhryap;
        }

        public void setSgjhryap(boolean sgjhryap) {
            this.sgjhryap = sgjhryap;
        }

        public boolean isSgjhrycx() {
            return sgjhrycx;
        }

        public void setSgjhrycx(boolean sgjhrycx) {
            this.sgjhrycx = sgjhrycx;
        }

        public boolean isJdjclrxx() {
            return jdjclrxx;
        }

        public void setJdjclrxx(boolean jdjclrxx) {
            this.jdjclrxx = jdjclrxx;
        }

        public boolean isJdjcdcl() {
            return jdjcdcl;
        }

        public void setJdjcdcl(boolean jdjcdcl) {
            this.jdjcdcl = jdjcdcl;
        }

        public boolean isJdjcycl() {
            return jdjcycl;
        }

        public void setJdjcycl(boolean jdjcycl) {
            this.jdjcycl = jdjcycl;
        }


    }

    //正式计划
    public class Zsjh {
        boolean Zsjh=false;
        //正式月计划
        boolean Zsyjh = false;
        //正式增补月计划
        boolean Zszbyjh = false;
        //正式周计划
        boolean Zszjh = false;
        //正式日计划
        boolean Zsrjh = false;

        public boolean isZsjh() {
            return Zsjh;
        }

        public void setZsjh(boolean zsjh) {
            Zsjh = zsjh;
        }

        public boolean isZsyjh() {
            return Zsyjh;
        }

        public void setZsyjh(boolean zsyjh) {
            Zsyjh = zsyjh;
        }

        public boolean isZszbyjh() {
            return Zszbyjh;
        }

        public void setZszbyjh(boolean zszbyjh) {
            Zszbyjh = zszbyjh;
        }

        public boolean isZszjh() {
            return Zszjh;
        }

        public void setZszjh(boolean zszjh) {
            Zszjh = zszjh;
        }

        public boolean isZsrjh() {
            return Zsrjh;
        }

        public void setZsrjh(boolean zsrjh) {
            Zsrjh = zsrjh;
        }
    }

    public String getSgdw() {
        return sgdw;
    }

    public void setSgdw(String sgdw) {
        this.sgdw = sgdw;
    }

    public String getUserDisplayName() {
        return userDisplayName;
    }

    public void setUserDisplayName(String userDisplayName) {
        this.userDisplayName = userDisplayName;
    }

    public String getTrueName() {
        return TrueName;
    }

    public void setTrueName(String trueName) {
        TrueName = trueName;
    }

    public String getUserMobilephone() {
        return userMobilephone;
    }

    public void setUserMobilephone(String userMobilephone) {
        this.userMobilephone = userMobilephone;
    }

    public String getUserUnitId() {
        return userUnitId;
    }

    public void setUserUnitId(String userUnitId) {
        this.userUnitId = userUnitId;
    }

    public String getUserUnitName() {
        return userUnitName;
    }

    public void setUserUnitName(String userUnitName) {
        this.userUnitName = userUnitName;
    }

    public String getUserAuthority() {
        return userAuthority;
    }

    public void setUserAuthority(String userAuthority) {
        this.userAuthority = userAuthority;
    }

    public void logOut() {
        //登录用户名
        userDisplayName = "";

        //真实姓名
        TrueName = "";

        //手机号码
        userMobilephone = "";

        //用户所属单位Id
        userUnitId = "";

        //用户所属单位名称
        userUnitName = "";

        //施工单位
        sgdw = "";
        //用户菜单权限

        //登录用户权限（按钮）
        userAuthority = "";

    }
}
